from dataclasses import dataclass, field

# 高级搜索的搜索条件
@dataclass
class AdvanceSearchCriteria:
    keyword: str = None
    category: str = None
    topic: str = None
    tags: list = field(default=list)
    author: str = None